package design.mode.effective_java.chapter3.item14;

import java.util.Collections;
import java.util.Set;
import java.util.TreeSet;

/**
 * 程序依赖S听
 *
 * @author ZhongMingde on 2021/8/13
 */

public class WordList {
    public static void main(String[] args) {

        Set<String> s = new TreeSet<>();
        Collections.addAll(s, args);
        System.out.println(s);
    }
}
